package com.ruoyi.sycs.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 编号规则设置视图对象 sycs_bs_rule
 *
 * @author zyb
 * @date 2024-04-24
 */
@Data
@ExcelIgnoreUnannotated
public class BsRuleVo {

    private static final long serialVersionUID = 1L;

    /**
     * 规则id
     */
    @ExcelProperty(value = "规则id")
    private Long ruleId;

    /**
     * 所属试验室id
     */
    @ExcelProperty(value = "所属试验室id")
    private Long deptId;

    /**
     * 所属试验类型id
     */
    @ExcelProperty(value = "所属试验类型id")
    private Long syTypeId;

    /**
     * 规则名称
     */
    @ExcelProperty(value = "规则名称")
    private String ruleName;

    /**
     * 分隔符字典
     */
    @ExcelProperty(value = "分隔符字典", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "fgf")
    private String fgf;

    /**
     * 规则块1类型
     */
    @ExcelProperty(value = "规则块1类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p1Type;

    /**
     * 规则块1内容
     */
    @ExcelProperty(value = "规则块1内容")
    private String p1Content;

    /**
     * 规则块2类型
     */
    @ExcelProperty(value = "规则块2类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p2Type;

    /**
     * 规则块2内容
     */
    @ExcelProperty(value = "规则块2内容")
    private String p2Content;

    /**
     * 规则块3类型
     */
    @ExcelProperty(value = "规则块3类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p3Type;

    /**
     * 规则块3内容
     */
    @ExcelProperty(value = "规则块3内容")
    private String p3Content;

    /**
     * 规则块4类型
     */
    @ExcelProperty(value = "规则块4类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p4Type;

    /**
     * 规则块4内容
     */
    @ExcelProperty(value = "规则块4内容")
    private String p4Content;

    /**
     * 规则块5类型
     */
    @ExcelProperty(value = "规则块5类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p5Type;

    /**
     * 规则块5内容
     */
    @ExcelProperty(value = "规则块5内容")
    private String p5Content;

    /**
     * 规则块6类型
     */
    @ExcelProperty(value = "规则块6类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sycs_rule_p")
    private String p6Type;

    /**
     * 规则块6内容
     */
    @ExcelProperty(value = "规则块6内容")
    private String p6Content;

    private List<Map> tableData;

    /**
     * 编号规则示例
     */
    private List<String> ruleSls;

    /**
     * 报告编号
     */
    private String bgCode;
    /**
     * 样品编号
     */
    private String ypCode;
    /**
     * 记录编号
     */
    private String jlCode;

}
